package com.cet.designpatterns.builder.improvement;

/**
 * @program: algorithm
 * @description: 抽象的建造者
 * @author: 陈恩涛
 * @create: 2021-09-07 09:25
 **/
public abstract class HouseBuilder {

    protected House house = new House();

    public abstract HouseBuilder buildBasic();

    public abstract HouseBuilder buildWall();

    public abstract HouseBuilder buildRoof();

    public House build() {
        return house;
    }
}
